package zookeeper.curator;

import zookeeper.utils.YamlUtil;

/**
 * @author zhenzicheng
 * @DESCRIPTION: apache-curator 集群基类
 * @DATE: 23/04/2022 12:25 PM
 */
public class CuratorClusterBase extends CuratorStandaloneBase {
  private static final String CLUSTER_CONNECT_STR;

  static {
    CLUSTER_CONNECT_STR = YamlUtil.getDefaultClusterConnectStr();
  }

  @Override
  public String getConnectStr() {
    return CLUSTER_CONNECT_STR;
  }
}
